package com.hnn.liteflow;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.annotation.LiteflowMethod;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.enums.LiteFlowMethodEnum;
import com.yomahub.liteflow.enums.NodeTypeEnum;

/**
 * @author hnn
 * @version 1.0
 * @date 2025-06-09 13:52
 */
@LiteflowComponent("a")
public class ACmp{

//    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS, nodeType = NodeTypeEnum.COMMON)
//    public void processAcmp(NodeComponent bindCmp) {
//        System.out.println("ACmp executed!");
//    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS_BOOLEAN, nodeType = NodeTypeEnum.BOOLEAN)
    public boolean processAcmpBoolean(NodeComponent bindCmp) {
        System.out.println("ACmp bool executed!");
        return false;
    }
}
